package com.tianji.learning.service;

import com.tianji.learning.domian.query.PointsBoardQuery;
import com.tianji.learning.domian.vo.PointsBoardVO;
import com.tianji.learning.entity.PointsBoard;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 学霸天梯榜 服务类
 * </p>
 *
 * @author author
 * @since 2024-03-25
 */
public interface IPointsBoardService extends IService<PointsBoard> {
    /*分页查询积分排行榜数据*/

    PointsBoardVO pagequeryPointsBoardbyseasons(PointsBoardQuery query);

    /*根据赛季id创建赛季表*/

    void createPointsBoardTableBySeason(Integer season);

    /*查询当前赛季排行榜*/

    List<PointsBoard> queryCurrentBoardList(String key , Integer pageNO, Integer pageSize);
}
